package com.zxq.kingofbots.controller.user.bot;

import com.zxq.kingofbots.service.user.bot.RemoveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class RemoveController {
    @Autowired
    private RemoveService removeService;

    @PostMapping("/user/bot/remove")
    public Map<String,String> removeBot(@RequestParam Map<String,String> data){
        System.out.println("remove");
        return removeService.removeBot(data);
    }
}
